<script>
    export default {
        render(h){
            var arr = [];
            for (var i = 0; i < this.children.length; i++) {
                var child = this.children[i];
                arr.push(
                    createElement(
                        child.name,   // tag name 标签名称
                        {
                            props : child.data
                        }
                    )
                )
            }
            return h(
                'Button',
                {shape : "circle"},
                arr
            )

        },
        props : {
            children : {
                type : Array,
                required : true
            }
        },
        methods: {

        }
    };
</script>